package com.gxa.logistics.service;

import com.gxa.logistics.common.base.PageWrapperDTO;
import com.gxa.logistics.common.base.RespResult;
import com.gxa.logistics.domain.dto.DepartmentReqListDTO;
import com.gxa.logistics.domain.dto.DepartmentReqListDTO;
import com.gxa.logistics.domain.dto.DepartmentSaveDTO;
import com.gxa.logistics.domain.dto.DepartmentUpdateDTO;
import com.gxa.logistics.domain.vo.DepartmentVO;
import com.gxa.logistics.domain.vo.DepartmentVO;

import java.util.List;

public interface DepartmentService {
    //查询部门列表
    RespResult<PageWrapperDTO<DepartmentVO>> list(DepartmentReqListDTO departmentReqListDTO);

    //添加员工

    void insertDepartment(DepartmentSaveDTO departmentSaveDTO);

    //修改员工
    void updateDepartment(DepartmentUpdateDTO departmentUpdateDTO);

    //删除员工
    void deleteDepartmentById(Integer departmentId);


    List<DepartmentVO> findAll();
}
